home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
tables
/
table.glb
< prev
next >
Wrap
Text File
|
1995-09-06
|
823b
|
26 lines
'========================================================
' This file contains the global variables and constants
' used by the program.
'========================================================
'==> Max number of inventory items for this demo. The
' choice was arbitrary.
Global Const MaxItems = 72
'==> Data structure and array for inventory items.
Type ItemStruct
ProdName As String
Cost As Currency
MarkUp As Currency
Price As Currency
InStock As Integer
End Type
Global Item(1 To MaxItems) As ItemStruct
'==> Number of items that can be displayed in the
' table at one time. Depends on the Height
' Property of the Label Control and the Font
' that is used.
Global Const TableLen = 10